﻿using System.Collections.Generic;
using System.Diagnostics;
using System.Web.Mvc;

namespace CodeContrib.Web.Mvc.Html
{
	public static class HtmlExtensions
	{
		[DebuggerStepThrough]
		public static IDictionary<string, object> ToHtmlAttributes(this object htmlAttributes)
		{
			return HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
		}
	}
}